<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**************************************************************************
 *
 *   Copyright 2010 American Public Media Group
 *
 *   This file is part of AIR2.
 *
 *   AIR2 is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   AIR2 is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with AIR2.  If not, see <http://www.gnu.org/licenses/>.
 *
 *************************************************************************/


/************************
 * AIR2 Constants
 */
define('AIR2_X_TUNNELED_METHOD_NAME', 'x-tunneled-method');
define('AIR2_AUTH_TKT_NAME',          'openair2_tkt');
define('AIR2_AUTH_TKT_CONFIG_FILE',   APPPATH.'../etc/auth_tkt.conf');
define('AIR2_DTIM_FORMAT',            'Y-m-d H:i:s');
define('AIR2_DATE_FORMAT',            'Y-m-d');
define('AIR2_REL_DELIM',              ':');
define('AIR2_BIN_STATE_CK',           'air2_bin_state');
define('AIR2_AUTHZ_READER',            1);
define('AIR2_AUTHZ_WRITER',            2);
define('AIR2_AUTHZ_MANAGER',           4);
define('AIR2_AUTHZ_IS_OWNER',          1);
define('AIR2_AUTHZ_IS_PUBLIC',         2);
define('AIR2_AUTHZ_IS_ORG',            3);
define('AIR2_AUTHZ_IS_PROJECT',        4);
define('AIR2_AUTHZ_IS_SYSTEM',         5);
define('AIR2_AUTHZ_IS_MANAGER',        6);
define('AIR2_AUTHZ_IS_NEW',            7);
define('AIR2_AUTHZ_IS_DENIED',         0);
define('AIR2_TRUST_PIN_SSO',           false);  // set to true for PIN deployment
define('DBMGR_DOMAIN',                'AIR2_DOMAIN');
define('AIR2_DISCRIM_IGNORE',          1);
define('AIR2_DISCRIM_ADD',             2);
define('AIR2_DISCRIM_REPLACE',         3);
define('AIR2_SYSTEM_DISP_NAME',        'OpenAIR');
